package com.hskn.hss.module.gridBindSnapshot.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * <p>
 *
 * </p>
 *
 * @author hskn
 * @since 2021-05-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class GridBindSnapshot implements Serializable {

    private static final long serialVersionUID = 1L;


    /**
     * id
     */
    @TableId(value = "id", type = IdType.ASSIGN_UUID)
    private String id;

    /**
     * 类型 car为车辆  emp 为人员
     */
    private String type;
    /**
     * 车辆 人员 id
     */
    private String itemId;
    /**
     * 绑定时间
     */
    private String bindTime;
    /**
     * 所属机构id
     */
    @TableField(exist = false)
    private String deptId;

    /**
     * 机构名称
     */
    @TableField(exist = false)
    private String depName;
    /**
     * 网格ID
     */
    private String gridId;
    private String gridName;

    /**
     * 日期
     */
    private String date;
}
